home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc A) / Acorn User China CD-ROM (UK) (Disc A).bin / DEMON / RISCOS2 / ARCKA9Q1.ARC / Makefile next >
Encoding:
Makefile  |  1992-10-24  |  9.1 KB  |  267 lines

  1. # Makefile for TCP/IP on the Acorn Archimedes
  2. #
  3. # For use with Acorn ANSI C Release 3.00 and AMU
  4. #
  5. CFLAGS=-c -throwback
  6. #
  7. net: o.arc o.arc_io o.arp o.arpcmd o.arpdump o.ax25 o.ax25cmd o.ax25dump \
  8.      o.ax25subr o.ax25user o.ax_mbx o.cmdparse o.domain o.files o.fingcli \
  9.      o.fingserv o.ftp o.ftpcli o.ftpserv o.icmp o.icmpcmd o.icmpdump \
  10.      o.icmpmsg o.iface o.ip o.ipcmd o.ipdump o.iproute o.kiss o.lapb \
  11.      o.lapbtime o.lcsum o.main o.mbuf o.mem o.misc o.netuser o.nntpcli o.nr3 o.nr4 \
  12.      o.serial o.nr4subr o.nr4timer o.nr4user o.nrcmd o.nrs o.nrsubr o.pathname \
  13.      o.session o.slip o.smisc o.smtpcli o.smtpserv o.tcpcmd o.tcpdump \
  14.      o.tcpin o.tcpout o.tcpsubr o.tcptimer o.tcpuser o.telnet o.timer \
  15.      o.tnserv o.trace o.ttydriv o.udp o.udpcmd o.udpdump o.version o.window
  16.      link -o net o.* C:o.RISC_OSLib C:o.Stubs
  17. #     squeeze net
  18.  
  19. o.arc:      c.arc h.global h.cmdparse h.iface h.icmp h.timer h.netuser \
  20.             h.tcp h.smtp h.arc
  21.             cc $(CFLAGS) arc -I$.RISC_OSLib
  22.  
  23. o.arc_io:   c.arc_io h.global h.mbuf h.internet h.iface h.cmdparse h.arc \
  24.             h.misc
  25.             cc $(CFLAGS) arc_io -I$.RISC_OSLib
  26.  
  27. o.arp:      c.arp h.global h.mbuf h.timer h.iface h.ax25 h.ip h.arp h.icmp \
  28.             h.misc
  29.             cc $(CFLAGS) arp
  30.  
  31. o.arpcmd:   c.arpcmd h.global h.mbuf h.timer h.ax25 h.arp h.cmdparse \
  32.             h.netuser h.domain h.misc
  33.             cc $(CFLAGS) arpcmd
  34.  
  35. o.arpdump:  c.arpdump h.global h.timer h.netuser h.arp h.misc
  36.             cc $(CFLAGS) arpdump
  37.  
  38. o.ax25:     c.ax25 h.global h.mbuf h.iface h.timer h.arp h.slip h.ax25 \
  39.             h.lapb h.netrom h.ip
  40.             cc $(CFLAGS) ax25
  41.  
  42. o.ax25cmd:  c.ax25cmd h.global h.mbuf h.ax25 h.ax_mbx h.timer h.iface \
  43.             h.lapb h.cmdparse h.session h.netuser h.misc
  44.             cc $(CFLAGS) ax25cmd
  45.  
  46. o.ax25dump: c.ax25dump h.global h.mbuf h.ax25 h.timer h.lapb h.trace h.arp \
  47.             h.ip h.misc h.netrom
  48.             cc $(CFLAGS) ax25dump
  49.  
  50. o.ax25subr: c.ax25subr h.global h.mbuf h.timer h.ax25 h.lapb
  51.             cc $(CFLAGS) ax25subr
  52.  
  53. o.ax25user: c.ax25user h.global h.mbuf h.timer h.iface h.ax25 h.lapb
  54.             cc $(CFLAGS) ax25user
  55.  
  56. o.ax_mbx:   c.ax_mbx h.global h.mbuf h.ax25 h.timer h.iface h.lapb \
  57.             h.netrom h.nr4 h.ax_mbx h.cmdparse h.smtp h.misc
  58.             cc $(CFLAGS) ax_mbx
  59.  
  60. o.cmdparse: c.cmdparse h.global h.cmdparse h.misc
  61.             cc $(CFLAGS) cmdparse
  62.  
  63. o.domain:   c.domain h.global h.mbuf h.timer h.netuser h.cmdparse h.domain \
  64.             h.misc
  65.             cc $(CFLAGS) domain
  66.  
  67. o.files:    c.files
  68.             cc $(CFLAGS) files
  69.  
  70. o.fingcli:  c.fingcli h.global h.mbuf h.timer h.internet h.icmp h.netuser \
  71.             h.tcp h.finger h.session h.misc h.domain
  72.             cc $(CFLAGS) fingcli
  73.  
  74. o.fingserv: c.fingserv h.global h.mbuf h.timer h.internet h.icmp \
  75.             h.netuser h.tcp h.finger h.session h.misc h.arc
  76.             cc $(CFLAGS) fingserv
  77.  
  78. o.ftp:      c.ftp h.global h.mbuf h.netuser h.timer h.tcp h.ftp h.session \
  79.             h.misc
  80.             cc $(CFLAGS) ftp
  81.  
  82. o.ftpcli:   c.ftpcli h.global h.mbuf h.netuser h.icmp h.timer h.tcp h.ftp \
  83.             h.session h.cmdparse h.misc h.domain
  84.             cc $(CFLAGS) ftpcli
  85.  
  86. o.ftpserv:  c.ftpserv h.global h.mbuf h.netuser h.timer h.tcp h.ftp \
  87.             h.misc h.arc
  88.             cc $(CFLAGS) ftpserv
  89.  
  90. o.icmp:     c.icmp h.global h.mbuf h.internet h.timer h.iface h.ip \
  91.             h.netuser h.tcp h.icmp h.misc
  92.             cc $(CFLAGS) icmp
  93.  
  94. o.icmpcmd:  c.icmpcmd h.global h.icmp h.mbuf h.netuser h.internet h.timer \
  95.             h.ping h.domain h.misc
  96.             cc $(CFLAGS) icmpcmd
  97.  
  98. o.icmpdump: c.icmpdump h.global h.mbuf h.internet h.icmp h.trace h.timer \
  99.             h.ip h.misc
  100.             cc $(CFLAGS) icmpdump
  101.  
  102. o.icmpmsg:  c.icmpmsg h.global
  103.             cc $(CFLAGS) icmpmsg
  104.  
  105. o.iface:    c.iface h.global h.iface h.misc
  106.             cc $(CFLAGS) iface
  107.  
  108. o.ip:       c.ip h.global h.mbuf h.timer h.internet h.iface h.ip h.icmp
  109.             cc $(CFLAGS) ip
  110.  
  111. o.ipcmd:    c.ipcmd h.global h.mbuf h.internet h.timer h.netuser h.iface \
  112.             h.ip h.cmdparse h.icmp h.domain h.misc
  113.             cc $(CFLAGS) ipcmd
  114.  
  115. o.ipdump:   c.ipdump h.mbuf h.internet h.timer h.iface h.ip h.trace \
  116.             h.netuser h.tcp h.udp h.icmp h.misc
  117.             cc $(CFLAGS) ipdump
  118.  
  119. o.iproute:  c.iproute h.global h.mbuf h.internet h.timer h.netuser h.ip \
  120.             h.icmp h.iface h.trace h.misc
  121.             cc $(CFLAGS) iproute
  122.  
  123. o.kiss:     c.kiss h.global h.mbuf h.iface h.kiss h.trace h.ax25 h.slip \
  124.             h.misc
  125.             cc $(CFLAGS) kiss
  126.  
  127. o.lapb:     c.lapb h.global h.mbuf h.timer h.ax25 h.netrom h.ip h.lapb
  128.             cc $(CFLAGS) lapb
  129.  
  130.  
  131. o.lapbtime: c.lapbtime h.global h.mbuf h.ax25 h.timer h.lapb
  132.             cc $(CFLAGS) lapbtime
  133.  
  134. o.lcsum:    c.lcsum h.global h.timer h.ip
  135.             cc $(CFLAGS) lcsum
  136.  
  137. o.main:     c.main h.config h.global h.mbuf h.netuser h.timer h.icmp \
  138.             h.iface h.ip h.tcp h.ax25 h.netrom h.ftp h.telnet h.session \
  139.             h.cmdparse h.asy h.slip h.nrs h.trace h.arp h.ax_mbx h.finger \
  140.             h.internet h.kiss h.lapb h.nr4 h.ping h.smtp h.udp h.misc \
  141.             h.arc h.remote h.domain h.mem
  142.             cc $(CFLAGS) main
  143.  
  144. o.mbuf:     c.mbuf h.global h.mbuf
  145.             cc $(CFLAGS) mbuf
  146.  
  147. o.misc:     c.misc h.global h.misc
  148.             cc $(CFLAGS) misc
  149.  
  150. o.mem:      c.mem h.global h.cmdparse h.mem h.misc
  151.             cc $(CFLAGS) mem
  152.  
  153. o.netuser:  c.netuser h.global h.netuser h.misc
  154.             cc $(CFLAGS) netuser
  155.  
  156. o.nntpcli:  c.nntpcli
  157.             cc $(CFLAGS) nntpcli
  158.  
  159. o.nr3:      c.nr3 h.global h.mbuf h.iface h.timer h.arp h.slip h.ax25 \
  160.             h.netrom h.nr4 h.lapb h.ip h.misc
  161.             cc $(CFLAGS) nr3
  162.  
  163. o.nr4:      c.nr4 h.global h.mbuf h.timer h.ax25 h.lapb h.netrom h.nr4 \
  164.             h.misc
  165.             cc $(CFLAGS) nr4
  166.  
  167. o.nr4subr:  c.nr4subr h.global h.mbuf h.timer h.ax25 h.netrom h.nr4 h.lapb
  168.             cc $(CFLAGS) nr4subr
  169.  
  170. o.nr4timer: c.nr4timer global.h h.mbuf h.timer h.ax25 h.lapb h.netrom h.nr4 \
  171.             h.misc
  172.             cc $(CFLAGS) nr4timer
  173.  
  174. o.nr4user:  c.nr4user h.global h.mbuf h.timer h.ax25 h.lapb h.netrom h.nr4
  175.             cc $(CFLAGS) nr4user
  176.  
  177. o.nrcmd:    c.nrcmd h.global h.config h.mbuf h.ax25 h.timer h.iface h.lapb \
  178.             h.netuser h.netrom h.nr4 h.ax_mbx h.cmdparse h.session h.misc
  179.             cc $(CFLAGS) nrcmd
  180.  
  181. o.nrs:      c.nrs h.global h.mbuf h.iface h.ax25 h.nrs h.asy h.trace h.arc \
  182.             h.nrs
  183.             cc $(CFLAGS) nrs
  184.  
  185. o.nrsubr:   c.nrsubr h.global h.mbuf h.timer h.ax25 h.netrom h.lapb
  186.             cc $(CFLAGS) nrsubr
  187.  
  188. o.pathname: c.pathname h.global
  189.             cc $(CFLAGS) pathname
  190.  
  191. o.session:  c.session h.global h.config h.mbuf h.netuser h.timer h.tcp \
  192.             h.ax25 h.lapb h.ftp h.telnet h.finger h.netrom h.nr4 h.session \
  193.             h.cmdparse h.misc
  194.             cc $(CFLAGS) session
  195.  
  196. o.slip:     c.slip h.global h.mbuf h.iface h.ax25 h.slip h.asy h.trace \
  197.             h.timer h.ip h.arc
  198.             cc $(CFLAGS) slip
  199.  
  200. o.smisc:    c.smisc h.global h.mbuf h.netuser h.timer h.tcp h.misc h.arc
  201.             cc $(CFLAGS) smisc
  202.  
  203. o.smtpcli:  c.smtpcli h.global h.netuser h.mbuf h.timer h.tcp h.smtp \
  204.             h.trace h.cmdparse h.misc h.arc h.domain
  205.             cc $(CFLAGS) smtpcli
  206.  
  207. o.smtpserv: c.smtpserv h.global h.mbuf h.netuser h.timer h.tcp h.smtp h.misc
  208.             cc $(CFLAGS) smtpserv
  209.  
  210. o.tcpcmd:   c.tcpcmd h.global h.timer h.mbuf h.netuser h.internet h.tcp \
  211.             h.cmdparse h.misc
  212.             cc $(CFLAGS) tcpcmd
  213.  
  214. o.tcpdump:  c.tcpdump h.global h.mbuf h.netuser h.internet h.timer h.tcp \
  215.             h.trace h.misc
  216.             cc $(CFLAGS) tcpdump
  217.  
  218. o.tcpin:    c.tcpin h.global h.timer h.mbuf h.netuser h.internet h.tcp \
  219.             h.icmp h.iface h.ip
  220.             cc $(CFLAGS) tcpin
  221.  
  222. o.tcpout:   c.tcpout h.global h.timer h.mbuf h.netuser h.internet h.tcp
  223.             cc $(CFLAGS) tcpout
  224.  
  225. o.tcpsubr:  c.tcpsubr h.global h.timer h.mbuf h.netuser h.internet h.tcp \
  226.             h.misc
  227.             cc $(CFLAGS) tcpsubr
  228.  
  229. o.tcptimer: c.tcptimer h.global h.mbuf h.timer h.netuser h.internet h.tcp
  230.             cc $(CFLAGS) tcptimer
  231.  
  232. o.tcpuser:  c.tcpuser h.global h.timer h.mbuf h.netuser h.internet h.tcp
  233.             cc $(CFLAGS) tcpuser
  234.  
  235. o.telnet:   c.telnet h.global h.mbuf h.timer h.icmp h.netuser h.tcp \
  236.             h.telnet h.session h.misc h.domain
  237.             cc $(CFLAGS) telnet
  238.  
  239. o.timer:    c.timer h.global h.timer h.arc h.misc
  240.             cc $(CFLAGS) timer
  241.  
  242. o.tnserv:   c.tnserv h.global h.mbuf h.timer h.icmp h.netuser h.tcp \
  243.             h.telnet h.session h.misc
  244.             cc $(CFLAGS) tnserv
  245.  
  246. o.trace:    c.trace h.global h.mbuf h.iface h.trace h.session h.misc
  247.             cc $(CFLAGS) trace
  248.  
  249. o.ttydriv:  c.ttydriv h.global h.misc
  250.             cc $(CFLAGS) ttydriv
  251.  
  252. o.udp:      c.udp h.global h.mbuf h.netuser h.udp h.internet h.misc
  253.             cc $(CFLAGS) udp
  254.  
  255. o.udpcmd:   c.udpcmd h.global h.mbuf h.netuser h.udp h.internet h.cmdparse \
  256.             h.misc
  257.             cc $(CFLAGS) udpcmd
  258.  
  259. o.udpdump:  c.udpdump h.global h.mbuf h.netuser h.internet h.udp h.misc
  260.             cc $(CFLAGS) udpdump
  261.  
  262. o.version:  c.version
  263.             cc $(CFLAGS) version
  264.  
  265. o.window:   c.window h.global h.misc h.cmdparse h.config
  266.             cc $(CFLAGS) window -IC:
  267.